package com.groupbuying.provider.service.impl;

import com.groupbuying.provider.dao.StoreCheckoutCounterDao;
import com.groupbuying.provider.domain.StoreCheckoutCounterDO;
import com.groupbuying.provider.service.StoreCheckoutCounterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Service
public class StoreCheckoutCounterServiceImpl implements StoreCheckoutCounterService {
	@Autowired
	private StoreCheckoutCounterDao storeCheckoutCounterDao;




	@Override
	public StoreCheckoutCounterDO get(String uuid){
		return storeCheckoutCounterDao.get(uuid);
	}
	
	@Override
	public List<StoreCheckoutCounterDO> list(Map<String, Object> map){
		return storeCheckoutCounterDao.list(map);
	}
	

	public int count(Map<String, Object> map){
		return storeCheckoutCounterDao.count(map);
	}
	


	@Override
	public Map<String, Object> getStoreIdAndRuleIdByCounterId(Map<String, Object> params) {
		return storeCheckoutCounterDao.getStoreIdAndRuleIdByCounterId(params);
	}



}
